home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / freedisk.arc / FREEDISK.DOC < prev    next >
Text File  |  1991-02-23  |  2KB  |  70 lines

  1. Freedisk v2.0
  2. =============
  3. Copyright (c) 1991 by Marc Gobes
  4. This program is public domain and may be distributed without any fee.
  5.  
  6.  
  7. Functions:
  8. ----------
  9. Freedisk is used to detect a short of diskspace before a program can 
  10. crash. It can also be used as a normal util to show the available diskspace 
  11. on any drive.
  12.  
  13. Syntax:
  14. -------
  15. Freedisk [ {<drive:> <minimum diskspace> <errorlevel>} ... ]
  16.  
  17.  
  18. Examples on diskdrive C: with 3140 Kb diskspace available:
  19. ==========================================================
  20.  
  21. Example 1
  22. ---------
  23. freedisk c:<return>
  24. Drive C:   3135 Kb free
  25.  
  26. Example 2
  27. ---------
  28. freedisk c: 2000 25<return>
  29. Drive C:   3135 Kb free
  30.  
  31.  
  32. Example 3
  33. ---------
  34. freedisk c: 4000 25<return>
  35. Drive C:   3133 Kb free ==> diskspace    867 Kb to low!
  36. Exiting with errorlevel 25
  37.  
  38.  
  39. Example 4
  40. ---------
  41. freedisk c: 5000 200 d: 500 201 e: 0 0 f: 0 0 g: 0 0 h: 0 0 i: 0 0 j: 0 0<return>
  42.  
  43. Can give the following result:                                                                                
  44. Drive C:   3140 Kb free ==> diskspace   1860 Kb to low!                         
  45. Drive D:   1784 Kb free                                                         
  46. Drive E:   1489 Kb free                                                         
  47. Drive F:    942 Kb free                                                         
  48. Drive G:   1962 Kb free                                                         
  49. Drive H:   5870 Kb free                                                         
  50. Drive I:    377 Kb free                                                         
  51. Drive J: not found!                                                             
  52. Exiting with errorlevel 200                                                     
  53.  
  54. Note: if <minimum diskspace> is set to 0, no checking on the available amount
  55.       of diskspace will be done.
  56.       When more then one errorlevel is detected, the last errorlevel which is
  57.       detected will be returned to DOS.
  58.  
  59.  
  60. Comments:
  61. =========
  62. Send them to : Marc Gobes
  63.                Vierlinghlaan 10
  64.                2332 CV  Leiden
  65.                The Netherlands
  66.  
  67.                or on Fidonet node 2:512/36: Stebis BBS
  68.                                             +31-71-320002
  69.                                             24hr/day HST/V32
  70.